/*
 * @Description: 公共路由
 * @Author: oscar
 * @Date: 2021-12-06 16:40:31
 */

import Layout from "../layout/index.vue";
import Home from "../views/home/index.vue";

export const commonRoutes: any = [
  {
    path: "/",
    name: "首页",
    component: Layout,
    redirect: "/home",
    children: [
      {
        path: "home",
        name: "Home-Index",
        component: () => Home,
      },
    ],
  },
  {
    path: "/login",
    name: "登录",
    component: () => import("../views/login/index.vue"),
  },
];
